namespace ConsoleFx
{
    /// <summary>
    /// Few constants representing the index of a parameter for an option.
    /// </summary>
    /// <remarks>
    /// The parameter index needs to be specified when assigning a validator to an option. It indicates
    /// the index of the parameter whose value it must check using the validator.
    /// A special value of All (-1) represents all parameters.
    /// Unfortunately, at this time, there is no way to specify a range of parameter indices, although
    /// this is a very rare requirement.
    /// </remarks>
    public static class ParameterIndex
    {
        /// <summary>
        /// Specifies that the validator must be assigned to all specified parameters
        /// </summary>
        public const int All = -1;

        public const int First = 0;
        public const int Second = 1;
        public const int Third = 2;
        public const int Fourth = 3;
    }
}